/*
 * @Author: c
 * @Date: 2024-02-07 05:30:18
 * @LastEditTime: 2024-02-07 11:25:02
 * @LastEditors: c
 * @Description: 
 * @FilePath: \music-web-backend\src\core\music\video\interface\video.interface.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Video } from "../entities/video.entity";

export interface IVideo {
    page(username: string, videoName: string, pageNum: number, pageSize: number): Promise<[Video[], number]>
    listBynameOrId(videoName: string, artistIds?: number[]): Promise<Video[]>
    getGenresByids(ids: number[]): Promise<number[]>

    findOne(userName: string, id: string): Promise<Video>
}